package io.sage.modules.warn.service.impl;

import io.sage.modules.warn.dao.BRfidWarnMapper;
import io.sage.modules.warn.entity.BRfidWarn;
import io.sage.modules.warn.service.BRfidWarnService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 报警记录服务
 * @author xujh
 *
 */
@Service("rfidWarnService")
public class BRfidWarnServiceImpl implements BRfidWarnService {

    @Resource
    private BRfidWarnMapper bRfidWarnMapper;

    @Override
    public int batchInsert(List<BRfidWarn> bRfidWarns) {
        return bRfidWarnMapper.batchInsert(bRfidWarns);
    }

	@Override
	public List<BRfidWarn> selectRfidWarnList(Map<String, Object> params) {
		
		return bRfidWarnMapper.selectRfidWarnList(params);
	}


	@Override
	public BRfidWarn selectByPrimaryKey(Integer id) {
		
		return bRfidWarnMapper.selectByPrimaryKey(id);
	}
}
